# -*- coding: utf-8 -*-
import binarymuta
from bluepy import btle

if __name__ == '__main__':
    addr = 'f5:26:9d:21:a7:fe'
    addrType = 'random'
    handle = 14
    fuzz_times = 100

    h = binarymuta.Handler()
    d = btle.Peripheral(addr, addrType)
    for i in range(0, fuzz_times):
        print d.writeCharacteristic(handle, h.Fuzzit('\x08\x00\xc4\x30\xd2\x39\xcc\x26\x00\x00'), withResponse=False)